#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>int arr[10001] = { 0 };
int* selfDividingNumbers(int left, int right, int* returnSize)
{
	int i = left;

	int k = 0;
	for (i = left; i <= right; i++)
	{
		int n = i;
		int flag = 1;
		while (n)
		{
			int a = n % 10;
			if (a == 0 || i % a != 0)
			{
				flag = 0;
				break;
			}
			n = n / 10;
		}
		if (flag)
		{
			arr[k] = i;
			k++;
		}
	}
	*returnSize = k;
	return arr;
}